{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/components/Users/index.tsx\";\nimport React from 'react';\nimport { UserItem } from \"../index\";\nimport \"./Users.scss\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nimport { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\nconst Users = props => {\n  if (props.users) {\n    if (props.users.items.length > 0) {\n      return /*#__PURE__*/_jsxDEV(\"div\", {\n        ref: props.UsersRef && props.UsersRef,\n        className: \"users-container\",\n        children: props.users.items.map(item => /*#__PURE__*/_jsxDEV(UserItem, {\n          profile: item\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 13,\n          columnNumber: 55\n        }, this))\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 11,\n        columnNumber: 17\n      }, this);\n    }\n  } else {\n    return /*#__PURE__*/_jsxDEV(_Fragment, {}, void 0, false);\n  }\n};\n_c = Users;\nexport default Users;\nvar _c;\n$RefreshReg$(_c, \"Users\");","map":{"version":3,"names":["React","UserItem","Users","props","users","items","length","UsersRef","map","item"],"sources":["/data/messenger.client/src/components/Users/index.tsx"],"sourcesContent":["import React from 'react';\nimport {UsersProps} from \"../../models/props/UsersProps\";\nimport {UserItem} from \"../index\";\nimport \"./Users.scss\";\n\nconst Users: React.FC<UsersProps> = (props) => {\n\n    if (props.users) {\n        if (props.users.items.length > 0) {\n            return (\n                <div ref={props.UsersRef! && props.UsersRef}\n                     className='users-container'>\n                    {props.users.items.map((item) => (<UserItem profile={item}/>))}\n                </div>\n            );\n        }\n    } else {\n        return (<></>);\n    }\n}\n\nexport default Users;"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAAQC,QAAQ,QAAO,UAAU;AACjC,OAAO,cAAc;AAAC;AAAA;AAEtB,MAAMC,KAA2B,GAAIC,KAAK,IAAK;EAE3C,IAAIA,KAAK,CAACC,KAAK,EAAE;IACb,IAAID,KAAK,CAACC,KAAK,CAACC,KAAK,CAACC,MAAM,GAAG,CAAC,EAAE;MAC9B,oBACI;QAAK,GAAG,EAAEH,KAAK,CAACI,QAAQ,IAAKJ,KAAK,CAACI,QAAS;QACvC,SAAS,EAAC,iBAAiB;QAAA,UAC3BJ,KAAK,CAACC,KAAK,CAACC,KAAK,CAACG,GAAG,CAAEC,IAAI,iBAAM,QAAC,QAAQ;UAAC,OAAO,EAAEA;QAAK;UAAA;UAAA;UAAA;QAAA,QAAG;MAAC;QAAA;QAAA;QAAA;MAAA,QAC5D;IAEd;EACJ,CAAC,MAAM;IACH,oBAAQ,qCAAK;EACjB;AACJ,CAAC;AAAA,KAdKP,KAA2B;AAgBjC,eAAeA,KAAK;AAAC;AAAA"},"metadata":{},"sourceType":"module"}